package com.qujia.markert.domain;

import com.qujia.common.annotation.Excel;
import com.qujia.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 立减活动规则对象 reduction_rules
 * 
 * @author qujia
 * @date 2021-11-03
 */
public class ReductionRules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long rulesId;

    /** 立减活动外键 */
    @Excel(name = "立减活动外键")
    private Long activityId;

    /** 参与立减活动的油品关系外键 */
    @Excel(name = "参与立减活动的油品关系外键")
    private Long activityOilId;

    /** 条件：满足多少 */
    @Excel(name = "条件：满足多少")
    private Double full;

    /** 符合条件减多少 */
    @Excel(name = "符合条件减多少")
    private Double cut;

    /** 最小解价区间 */
    @Excel(name = "最小解价区间")
    private Double cutMin;

    /** 最大解价区间 */
    @Excel(name = "最大解价区间")
    private Double cutMax;

    public void setRulesId(Long rulesId) 
    {
        this.rulesId = rulesId;
    }

    public Long getRulesId() 
    {
        return rulesId;
    }
    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }

    public void setActivityOilId(Long activityOilId) 
    {
        this.activityOilId = activityOilId;
    }

    public Long getActivityOilId() 
    {
        return activityOilId;
    }
    public void setFull(Double full)
    {
        this.full = full;
    }

    public Double getFull()
    {
        return full;
    }
    public void setCut(Double cut)
    {
        this.cut = cut;
    }

    public Double getCut()
    {
        return cut;
    }
    public void setCutMin(Double cutMin)
    {
        this.cutMin = cutMin;
    }

    public Double getCutMin()
    {
        return cutMin;
    }
    public void setCutMax(Double cutMax)
    {
        this.cutMax = cutMax;
    }

    public Double getCutMax()
    {
        return cutMax;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("rulesId", getRulesId())
            .append("activityId", getActivityId())
            .append("activityOilId", getActivityOilId())
            .append("full", getFull())
            .append("cut", getCut())
            .append("cutMin", getCutMin())
            .append("cutMax", getCutMax())
            .toString();
    }
}
